from ..extensions import db


class Epidemic(db.Model):
    __tablename__ = 'epidemic'
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(255))
    nowConfirm = db.Column(db.Integer)
    confirm = db.Column(db.Integer)
    suspect = db.Column(db.Integer)
    dead = db.Column(db.Integer)
    showRate = db.Column(db.String(255))
    heal = db.Column(db.Integer)
    deadRate = db.Column(db.DECIMAL(10,2))
    healRate = db.Column(db.DECIMAL(10,2))
    showHeal = db.Column(db.String(255))